package com.hansming.bss.modules.sfc.entity;

import java.util.List;

import com.google.common.collect.Lists;
import com.hansming.bss.common.persistence.DataEntity;




/**
 * 城市Entity
 * @author Hansming
 * @version 2017-09-19
 */
public class City extends DataEntity<City> {

	private static final long serialVersionUID = 1L;
	
	private String parent_id;					//父节点名称
	private int sort;							//排序分数
	private String area;						//（国，省，市）
	private	String name;						//城市名称		
	private LineCityType linecitytype;			//城市类别(线路中用户楼层指引）
	private String firstletter;				//首字母类别
	private String incmenu;						//是否在首页的租车城市中显示
	private String inlinepage;					//是否是在线路的首页
	private String type;						//城市类别
	private	String hotflag;						//热门城市标签
	private String inIndex;						//设为租车首页搜索主推（0，否，1，是）
	private String mark;						//城市在线路首页的城市上面的标签
	private String pictureUrl;					//租车首页里城市所对应的背景图片
	
	/**
	 * 是否是展示首页的标记（0：不是；1：展示；）
	 */
	public static final String DEFAULT_SHOW = "1";
	public static final String DEFAULT_HIDE = "0";
	
	private List<City> childList = Lists.newArrayList(); 
	
	public City(){
		super();
	}
	
	public City(String id){
		super(id);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	

	public LineCityType getLinecitytype() {
		return linecitytype;
	}

	public void setLinecitytype(LineCityType linecitytype) {
		this.linecitytype = linecitytype;
	}



	public String getFirstletter() {
		return firstletter;
	}

	public void setFirstletter(String firstletter) {
		this.firstletter = firstletter;
	}
	
	public List<City> getChildList() {
		return childList;
	}

	public void setChildList(List<City> childList) {
		this.childList = childList;
	}

	public String getParent_id() {
		return parent_id;
	}

	public void setParent_id(String parent_id) {
		this.parent_id = parent_id;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}



	public String getIncmenu() {
		return incmenu;
	}

	public void setIncmenu(String incmenu) {
		this.incmenu = incmenu;
	}

	public String getInlinepage() {
		return inlinepage;
	}

	public void setInlinepage(String inlinepage) {
		this.inlinepage = inlinepage;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getHotflag() {
		return hotflag;
	}

	
	
	public void setHotflag(String hotflag) {
		this.hotflag = hotflag;
	}

	public String getInIndex() {
		return inIndex;
	}

	public void setInIndex(String inIndex) {
		this.inIndex = inIndex;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public String getPictureUrl() {
		return pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	
	
	
	
	



	
}
